package org.reliablesource.prism.core;

/**
 *
 *  IPrismUpdateEvent.java<br>
 *  Copyright (c) 2007, Reliable Source, Inc. All Rights Reserved<br><br>
 *
 *	Created on: Jun 29, 2007 <br><br>
 *  @author Dennis Park 
 *<a href="mailto:dennis.park@gmail.com">dennis.park@gmail.com</a>
 *
 * @since 1.0.0
 */
public interface IPrismUpdateEvent {
	
	final static int ADD = 0;
	final static int REMOVE = 1;
	final static int UPDATE = 2;
	
	
		// todo	getEventType, getChangeList, addToChangedList, getChangedList
	
	public int getEventType();
	public IPrismElement[] getChangedObjects();
	public boolean addToChangedList(IPrismElement _element);
	public boolean removeFromChangedList(IPrismElement _element);
}
